import request from '@/utils/request'

export function saveFile(attachId,category) {
  return request({
    url: `/attachment/fileUpload`,
    method: 'post',
    data:{attachId,type:category}
  })
}